package com.example.travelservlet.scenery.repository;

import com.example.travelservlet.entity.Scenery;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @author 30697
 */
public interface SceneryRepository extends JpaRepository<Scenery, String> , JpaSpecificationExecutor{

    List<Scenery> findSceneriesBySceneryIdIsIn(List<String> sceneryIds, Sort sort);
}
